i = 1
while i < 9:
    j = 1
    while j <= 10 - i:
        print(i," + ",j," = ",i * j)
        j += 1
    i += 1
        
